﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomActionGroup
    Id="AIS.SharePoint.AspNetFBA.SiteSettings.Management"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="1000"
    ImageUrl="/_layouts/images/SiteSettings_UsersAndPermissions_48x48.png"
    Title="$Resources:Menu_SiteSettings_Management_Title"
    >
  </CustomActionGroup>

  <CustomAction
    Id="AIS.SharePoint.AspNetFBA.SiteSettings.Management.Settings"
    GroupId="AIS.SharePoint.AspNetFBA.SiteSettings.Management"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="1000"
    RequireSiteAdministrator="TRUE"
    Title="$Resources:Menu_SiteSettings_Management_Settings_Title"
    >
    <UrlAction Url="javascript:(function(){var o={url:'{SiteUrl}/_layouts/AIS.SharePoint.AspNetFBA/Settings.aspx', title:'$Resources:Dialog_Management_Settings_Title', dialogReturnValueCallback:SP.UI.ModalDialog.RefreshPage, allowMaximize:false }; SP.UI.ModalDialog.showModalDialog(o);})();"/>
  </CustomAction>

  <CustomAction
    Id="AIS.SharePoint.AspNetFBA.SiteSettings.Management.UserManagement"
    GroupId="AIS.SharePoint.AspNetFBA.SiteSettings.Management"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="1001"
    Rights="ManagePermissions,BrowseUserInfo"
    Title="$Resources:Menu_SiteSettings_Management_UserManagement_Title"
    >
    <UrlAction Url="/_layouts/AIS.SharePoint.AspNetFBA/UserList.aspx"/>
  </CustomAction>

  <CustomAction
    Id="AIS.SharePoint.AspNetFBA.SiteSettings.Management.CreateUser"
    GroupId="AIS.SharePoint.AspNetFBA.SiteSettings.Management"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="1002"
    Rights="ManagePermissions"
    Title="$Resources:Menu_SiteSettings_Management_CreateUser_Title"
    >
    <UrlAction Url="javascript:(function(){var o={url:'{SiteUrl}/_layouts/AIS.SharePoint.AspNetFBA/UserCreate.aspx', title:'$Resources:Dialog_Management_CreateUser_Title', dialogReturnValueCallback:SP.UI.ModalDialog.RefreshPage, allowMaximize:false}; SP.UI.ModalDialog.showModalDialog(o);})();"/>
  </CustomAction>

  <CustomAction
     Id="AIS.SharePoint.AspNetFBA.StandardMenu.ChangePassword"
     GroupId="PersonalActions"
     Location="Microsoft.SharePoint.StandardMenu"
     Sequence="1"
     Title="$Resources:Dialog_StandardMenu_ChangePassword_Title"
     Description="$Resources:Dialog_StandardMenu_ChangePassword_Description">
    <UrlAction Url="javascript:(function(){var o={url:'{SiteUrl}/_layouts/AIS.SharePoint.AspNetFBA/ChangePassword.aspx', title:'$Resources:Dialog_StandardMenu_ChangePassword_Title', dialogReturnValueCallback:SP.UI.ModalDialog.RefreshPage, allowMaximize:false}; SP.UI.ModalDialog.showModalDialog(o);})();"/>
  </CustomAction>
     
  
</Elements>
